Public Attributes

glImage Struct Reference

Struct for our GL-Based Images
This is our struct to hold our image attributes. You don't need to worry about this if you use the texture packer. More...

#include <gl2d.h>

List of all members.

Public Attributes

int width
int height
float u_off
float v_off
float u_width
float v_height
GLuint textureID

Detailed Description

Struct for our GL-Based Images
This is our struct to hold our image attributes. You don't need to worry about this if you use the texture packer.

Struct for out GL-Based Images.

This is our struct to hold our image attributes.
You don't need to worry about this if you use the texture packer.

Definition at line 153 of file gl2d.h.


Member Data Documentation

Height of the sprite

Definition at line 157 of file gl2d.h.

OpenGL generated texture ID of the sprite

Definition at line 163 of file gl2d.h.

Horizontal texture offset of the sprite

Definition at line 158 of file gl2d.h.

Horizontal texture offset width of the sprite

Definition at line 160 of file gl2d.h.

Vertical texture offset height of the sprite

Definition at line 161 of file gl2d.h.

Vertical texture offset of the sprite

Definition at line 159 of file gl2d.h.

Width of the sprite

Definition at line 156 of file gl2d.h.


The documentation for this struct was generated from the following file: